import { Allow, IsString } from 'class-validator';
import { CommonColumnEntity } from '../../../../util/entity/common.column.entity';

export class CreateDictDto extends CommonColumnEntity {
  @IsString()
  name: string;

  @IsString()
  code: string;

  @Allow()
  sort: number;
}
